CC = gcc
CFLAGS += -I../include -g \
	-I.
LDFLAGS += -lpthread

OBJS += server.o \
	thr_list.o \
	thr_channel.o \
	mytbf.o \
	media_lib.o \

TARGET = server.exe

$(TARGET):$(OBJS)
	$(CC) $^ -o $@ $(LDFLAGS)

.c.o:
	$(CC) -c $(CFLAGS) $< -o $@

.PHONY:clean
clean:
	rm -f *.exe *.o

